VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Wpf.UI Namespace / WpfPdfVisualTool Class / PointsFromPageSpaceToVisualToolSpace Methods / PointsFromPageSpaceToVisualToolSpace(VintasoftImage,Point[],Point[]) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointsFromPageSpaceToVisualToolSpace(VintasoftImage,Point[],Point[]) Method (WpfPdfVisualTool)
    In This Topic
    Converts points from the PDF page coordinate space to the visual tool coordinate space.
    Syntax
    'Declaration
    
    Public Overloads Sub PointsFromPageSpaceToVisualToolSpace( _
    ByVal image
    An image associated with PDF page.
    As Vintasoft.Imaging.VintasoftImage, _
    ByVal pageSpacePoints
    Points, in the PDF page coordinate space, to convert.
    () As System.Windows.Point, _
    ByVal viewerSpacePoints
    Points, in the visual tool coordinate space.
    () As System.Windows.Point _
    )
    public void PointsFromPageSpaceToVisualToolSpace(
    Vintasoft.Imaging.VintasoftImage image,
    System.Windows.Point[] pageSpacePoints,
    System.Windows.Point[] viewerSpacePoints
    )
    public: void PointsFromPageSpaceToVisualToolSpace(
    Vintasoft.Imaging.VintasoftImage* image,
    System.Windows.Point[]* pageSpacePoints,
    System.Windows.Point[]* viewerSpacePoints
    )
    public:
    void PointsFromPageSpaceToVisualToolSpace(
    Vintasoft.Imaging.VintasoftImage^ image,
    array<System.Windows.Point>^ pageSpacePoints,
    array<System.Windows.Point>^ viewerSpacePoints
    )

    Parameters

    image
    An image associated with PDF page.
    pageSpacePoints
    Points, in the PDF page coordinate space, to convert.
    viewerSpacePoints
    Points, in the visual tool coordinate space.
    Exceptions
    ExceptionDescription
    Thrown if viewerSpacePoints.Length != pageSpacePoints.Length.
    Thrown if focused image is not a PDF page.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also